//
//  NSData+Compression.h
//  Project
//
//  Created by  CarlsonLee on 2018/12/7.
//  Copyright © 2018年 YANJING. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSData (Compression)

/// 解压 gzip 数据
- (NSData *)gel_gzipInflate;

/// 以 gzip 压缩
- (NSData *)gel_gzipDeflate;

/// 解压 zlib 数据
- (NSData *)gel_zlibInflate;

/// 以 zlib 压缩
- (NSData *)gel_zlibDeflate;

@end
